/*
 * @Descripttion: 拓展插件配置
 * @version: 
 * @Author: turingchang
 * @Date: 2020-08-22 16:18:21
 * @LastEditors: turingchang
 * @LastEditTime: 2020-12-21 15:20:19
 */



// exports.nunjucks = {
//     enable: true,
//     package: 'egg-view-nunjucks'
// };

// exports.security = {
//     xframe: {
//         enable: false,
//     },
//     ipBlackList: [
//         '*',
//     ],
// };

//db插件
exports.sequelize = {
    enable: false,
    package: 'egg-sequelize',
};

//请求验证器插件
// exports.validate = {
//     enable: true,
//     package: 'egg-validate',
// };

exports.validatePlus = {
    enable: true,
    package: 'egg-validate-plus',
};

exports.routerPlus = {
    enable:true,
    package:'egg-router-plus'
};

exports.jwt = {
    enable: true,
    package: "egg-jwt"
};

exports.cors ={
    enable: true,
    package: 'egg-cors'
}